package com.sanshow.charging.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

import java.util.Date;

@Entity(
        nameInDb = "fb_charging_mirror"
)
public class ChargingMirror {

    @Id(autoincrement = true)
    @Property(nameInDb = "id")
    private Long id;

    // 仓门号
    @Property(nameInDb = "item_code")
    private String itemCode;

    // 电池编号
    @Property(nameInDb = "info_code")
    private String infoCode;

    // 1、电池；2、浮板
    @Property(nameInDb = "item_flag")
    private int itemFlag;

    // 开门状态:00=关门,01=开门
    @Property(nameInDb = "open_status")
    private String doorStatus;

    @Property(nameInDb = "is_available")
    private int isAvailable;

    @Property(nameInDb = "update_time")
    private Date updateTime;

@Generated(hash = 1896826330)
public ChargingMirror(Long id, String itemCode, String infoCode, int itemFlag,
        String doorStatus, int isAvailable, Date updateTime) {
    this.id = id;
    this.itemCode = itemCode;
    this.infoCode = infoCode;
    this.itemFlag = itemFlag;
    this.doorStatus = doorStatus;
    this.isAvailable = isAvailable;
    this.updateTime = updateTime;
}

@Generated(hash = 1308704268)
public ChargingMirror() {
}

public Long getId() {
    return this.id;
}

public void setId(Long id) {
    this.id = id;
}

public String getItemCode() {
    return this.itemCode;
}

public void setItemCode(String itemCode) {
    this.itemCode = itemCode;
}

public String getInfoCode() {
    return this.infoCode;
}

public void setInfoCode(String infoCode) {
    this.infoCode = infoCode;
}

public int getItemFlag() {
    return this.itemFlag;
}

public void setItemFlag(int itemFlag) {
    this.itemFlag = itemFlag;
}

public String getDoorStatus() {
    return this.doorStatus;
}

public void setDoorStatus(String doorStatus) {
    this.doorStatus = doorStatus;
}

public int getIsAvailable() {
    return this.isAvailable;
}

public void setIsAvailable(int isAvailable) {
    this.isAvailable = isAvailable;
}

public Date getUpdateTime() {
    return this.updateTime;
}

public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
}


}
